-- GENERATED SPELL FOR [Frostbrood Whelp] --


function spell0_31718(pUnit, Event) --@Frost Blast,n/a--
pUnit:FullCastSpellOnTarget(60814,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31718', 6000, 1)
end

function Sorts_31718(pUnit, Event)
local choix_sorts_31718 = math.random(0, 0)
if choix_sorts_31718 == 0 then
pUnit:RegisterEvent('spell0_31718', 1, 1)
end
end

function mob31718_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31718', math.random(1500, 3000), 1)
end

function mob31718_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31718_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31718_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31718, 1, 'mob31718_Action')
RegisterUnitEvent(31718, 2, 'mob31718_Leave')
RegisterUnitEvent(31718, 3, 'mob31718_Kill')
RegisterUnitEvent(31718, 4, 'mob31718_Die')
